package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/4/7.
 */

public class GetCityBean implements IModel {


    /**
     * error_code : 0
     * msg :
     * data : {"city_id":"77","city_list":[{"id":"3","pid":"2","region_name":"成都市"},{"id":"13","pid":"10","region_name":"北京市"},{"id":"14","pid":"11","region_name":"上海市"},{"id":"46","pid":"15","region_name":"天津市"},{"id":"47","pid":"16","region_name":"重庆市"},{"id":"48","pid":"17","region_name":"哈尔滨"},{"id":"49","pid":"18","region_name":"长春"},{"id":"50","pid":"19","region_name":"沈阳"},{"id":"51","pid":"20","region_name":"南京"},{"id":"52","pid":"21","region_name":"济南"},{"id":"53","pid":"22","region_name":"合肥"},{"id":"54","pid":"23","region_name":"石家庄"},{"id":"55","pid":"24","region_name":"郑州"},{"id":"56","pid":"25","region_name":"武汉"},{"id":"57","pid":"26","region_name":"长沙"},{"id":"58","pid":"27","region_name":"南昌"},{"id":"59","pid":"28","region_name":"西安"},{"id":"60","pid":"29","region_name":"太原"},{"id":"61","pid":"30","region_name":"西宁"},{"id":"62","pid":"31","region_name":"海口"},{"id":"63","pid":"32","region_name":"广州"},{"id":"64","pid":"33","region_name":"贵阳"},{"id":"65","pid":"34","region_name":"杭州"},{"id":"66","pid":"35","region_name":"福州"},{"id":"67","pid":"36","region_name":"台北"},{"id":"68","pid":"37","region_name":"兰州"},{"id":"69","pid":"38","region_name":"昆明"},{"id":"70","pid":"39","region_name":"呼和浩特"},{"id":"71","pid":"40","region_name":"银川"},{"id":"72","pid":"41","region_name":"乌鲁木齐"},{"id":"73","pid":"42","region_name":"拉萨"},{"id":"74","pid":"43","region_name":"南宁"},{"id":"75","pid":"44","region_name":"香港"},{"id":"76","pid":"45","region_name":"澳门"},{"id":"77","pid":"2","region_name":"绵阳"}]}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * city_id : 77
         * city_list : [{"id":"3","pid":"2","region_name":"成都市"},{"id":"13","pid":"10","region_name":"北京市"},{"id":"14","pid":"11","region_name":"上海市"},{"id":"46","pid":"15","region_name":"天津市"},{"id":"47","pid":"16","region_name":"重庆市"},{"id":"48","pid":"17","region_name":"哈尔滨"},{"id":"49","pid":"18","region_name":"长春"},{"id":"50","pid":"19","region_name":"沈阳"},{"id":"51","pid":"20","region_name":"南京"},{"id":"52","pid":"21","region_name":"济南"},{"id":"53","pid":"22","region_name":"合肥"},{"id":"54","pid":"23","region_name":"石家庄"},{"id":"55","pid":"24","region_name":"郑州"},{"id":"56","pid":"25","region_name":"武汉"},{"id":"57","pid":"26","region_name":"长沙"},{"id":"58","pid":"27","region_name":"南昌"},{"id":"59","pid":"28","region_name":"西安"},{"id":"60","pid":"29","region_name":"太原"},{"id":"61","pid":"30","region_name":"西宁"},{"id":"62","pid":"31","region_name":"海口"},{"id":"63","pid":"32","region_name":"广州"},{"id":"64","pid":"33","region_name":"贵阳"},{"id":"65","pid":"34","region_name":"杭州"},{"id":"66","pid":"35","region_name":"福州"},{"id":"67","pid":"36","region_name":"台北"},{"id":"68","pid":"37","region_name":"兰州"},{"id":"69","pid":"38","region_name":"昆明"},{"id":"70","pid":"39","region_name":"呼和浩特"},{"id":"71","pid":"40","region_name":"银川"},{"id":"72","pid":"41","region_name":"乌鲁木齐"},{"id":"73","pid":"42","region_name":"拉萨"},{"id":"74","pid":"43","region_name":"南宁"},{"id":"75","pid":"44","region_name":"香港"},{"id":"76","pid":"45","region_name":"澳门"},{"id":"77","pid":"2","region_name":"绵阳"}]
         */

        private String city_id;
        private List<CityListBean> city_list;

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public List<CityListBean> getCity_list() {
            return city_list;
        }

        public void setCity_list(List<CityListBean> city_list) {
            this.city_list = city_list;
        }

        public static class CityListBean {
            /**
             * id : 3
             * pid : 2
             * region_name : 成都市
             */

            private String id;
            private String pid;
            private String region_name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            public String getRegion_name() {
                return region_name;
            }

            public void setRegion_name(String region_name) {
                this.region_name = region_name;
            }
        }
    }
}
